package com.nuanshui.heatedloan.credit.facade;

import com.nuanshui.heatedloan.credit.form.CustomerPeopleRelationshipForm;
import com.nuanshui.heatedloan.credit.vo.CustomerPeopleRelationshipVO;

import java.util.List;

/**
 * Created by wangxw on 2017/6/27.
 */
public interface CustomerPeopleRelationshipService {

    /***
     * 新增人员基本信息
     * @param customerPeopleRelationshipForm
     */
    void saveCustomerPeopleRelationship(CustomerPeopleRelationshipForm customerPeopleRelationshipForm);


    /***
     * 修改人员基本信息
     * @param customerPeopleRelationshipForm
     */
    void updateCustomerPeopleRelationship(CustomerPeopleRelationshipForm customerPeopleRelationshipForm);


    /***
     * 获取人员基本信息
     * @param id
     * @return
     */
    CustomerPeopleRelationshipVO loadVO(String id);


    /***
     * 删除人员基本信息
     * @param id
     */
    void deleteCustomerPeopleRelationship(String id);

    /***
     * 根据用户获取其人员关系
     * @param cusBaseInfoId
     * @return
     */
    List<CustomerPeopleRelationshipVO> loadcustomerPeopleRelationshipVOByCusId(String cusBaseInfoId);
}
